﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GSLMS.Services.Interface;
using GSLMS.Entity;
using GSLMS.Entity.DTO;
using GSLMS.DAL;
namespace GSLMS.Services
{
    /// <summary>
    /// 此层为服务层，已经继承了父类BaseService,已经定义好方法请查看BaseService类；若需要自定义方法请在此层增加并在数据层及接口层定义相关的方法
    /// </summary>
    public partial class SSYS_USERPRIV : BaseService<TB_SYS_USERPRIV>, ISYS_USERPRIV
    {
        private static readonly GSLMS.DAL.Oracle.SYS_USERPRIV dal = new GSLMS.DAL.Oracle.SYS_USERPRIV();
        public override BaseDAL<TB_SYS_USERPRIV> DAL
        {
            get { return dal; }
        }

        /// <summary>
        ///  删除一条数据
        /// </summary>
        public bool DeleteByEmpID(long EmpID, string userName, long roleID)
        {
            return dal.DeleteByEmpID(EmpID, userName, roleID);
        }

        public bool Add(List<TB_SYS_USERPRIV> model)
        {
            return false;
        }
    }
}
